<html>
<head>
    <meta charset="UTF-8">
    <title>欢迎页面-L-admin1.0</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    <link rel="shortcut icon" href="/static/favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" href="/static/css/font.css">
    <link rel="stylesheet" href="/static/css/xadmin.css">
    <script src="/static/js/jquery.min.js"></script>
    <script type="text/javascript" src="/static/lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="/static/js/xadmin.js"></script>
    <style>
        .layui-form-label{
            width: 180px;
        }
        .layui-form-item .layui-input-inline{
            width: 780px;
        }
    </style>
</head>
<body leftmargin="8" topmargin="8" background='/static/images/allbg.gif'>
    <div class="x-body">
        <form class="layui-form" method="post" action="/admin/config/list">
            {volist name="list" id="value"}
            {php}if($value['key'] == 'last_time'){ {/php}
            <div class="layui-form-item">
                <label for="name" class="layui-form-label">
                    <span class="x-red">*</span>{$value.info}
                </label>
                <div class="layui-input-inline">
                    <label for=""><input name="{$value.key}" type="radio" value="1" {eq name="$value.value" value="1"} checked {/eq}>一个月</label>
                    <label for=""><input name="{$value.key}" type="radio" value="2" {eq name="$value.value" value="2"} checked {/eq}>三个月</label>
                    <label for=""><input name="{$value.key}" type="radio" value="3" {eq name="$value.value" value="3"} checked {/eq}>一年</label>
                </div>
            </div>
            {php}}else{{/php}
            <div class="layui-form-item">
                <label for="name" class="layui-form-label">
                    <span class="x-red">*</span>{$value.info}
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="{$value.key}" name="{$value.key}" required lay-verify="required"
                    autocomplete="off" class="layui-input" value="{$value.value}">
                </div>
            </div>
            {php}}{/php}
            {/volist}
            <div class="layui-form-item">
                <label for="L_repass" class="layui-form-label">
                </label>
                <button  class="layui-btn" lay-filter="add" lay-submit="">
                    增加
                </button>
            </div>
        </form>
    </div>
</body>
</html>